<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="css/mystyle.css">
    <link rel="stylesheet" href="layui/css/layui.css">
</head>

<body>
	<!-- 导入顶部导航---start -->
	<%@ include file="head.jsp" %>
	<!-- 导入顶部导航---end -->
	
    <div class="layui-container">
        <div class="def-all">
            <div class="def-head">
                <span>学校实践修改</span>
            </div>
            <form class="layui-form" action="uppractice.action" style="padding:15px;">
                <input type="hidden" name="practiceid" id="practiceid" value="${practice.practiceid}">
                <input type="hidden" id="stuinfoid" name="stuinfoid" value="${practice.stuinfoid}">
                <div class="layui-form-item">
                    <label class="layui-form-label">组织名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="educlub" id="educlub" lay-verify="" value="${practice.educlub}" autocomplete="off" placeholder="请输入组织名称"
                            class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">相关职务</label>
                    <div class="layui-input-block">
                        <input type="text" name="business" id="business" lay-verify="" value="${practice.business}" placeholder="请输入相关职务"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">开始时间</label>
                        <div class="layui-input-inline">
                            <input type="text" name="startime" id="startime" value="${practice.startime}" lay-verify="pra-startime"
                                placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">结束时间</label>
                        <div class="layui-input-inline">
                            <input type="text" name="endtime" id="endtime" value="${practice.endtime}" lay-verify="pra-endtime"
                                placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>

                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">活动概述</label>
                    <div class="layui-input-block">
                        <textarea placeholder="请输入活动概述" name="edusum" id="edusum" class="layui-textarea">${practice.edusum}</textarea>
                    </div>
                </div>

                <div class="layui-upload">
                	<input type="hidden" name="userid" id="userid" value="${loginuser.userid }">
	            	<input type="hidden" name="account" id="account" value="${loginuser.account }">
	            	<input type="hidden" name="photoname" id="photoname" value="${practice.edupic }">
	            	<textarea name="picpaths" class="dpn" id="picpaths">${practice.edupicpath }</textarea>
                    <button type="button" class="layui-btn" id="manypic">图片上传</button>
                    <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                        <span class="yulan_font">预览图：</span>
                        <div class="layui-upload-list" id="demo2"></div>
                    </blockquote>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" type="submit" lay-submit>提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        <a href="delepractice.action?practiceid=${practice.practiceid}&stuinfoid=${practice.stuinfoid}">
                        <button type="button" class="layui-btn layui-btn-danger" style="background:#FF5722;">删除</button>
                        </a>
                    </div>
                </div>
            </form>
        </div>

    </div>

    <!-- 导入网页页脚---start -->
	<%@ include file="foot.jsp" %>
	<!-- 导入网页页脚---end -->

    <script src="js/jquery-3.3.1.min.js"></script>
    <script src="layui/layui.js"></script>
    <script src="js/my.js"></script>
</body>

</html>